PowerShell String to Array to a Foreach Loop « Developer's Closet PowerShell String to Array to a Foreach Loop I always forget to use the Split command (or write it in VBScript before I remember PowerShell). The following command takes a comma separated list (string), and splits the string into an array. Then loop throu